package com.exam.itempool.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.exam.role.model.Teacher;

/**
 * ExamHall entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class ExamHall implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Exam exam;
	private Teacher teacher;
	private Date createtime;
	private String flag;
	private String address;
	private String code;
	private Set appraisers = new HashSet(0);

	// Constructors

	/** default constructor */
	public ExamHall()
	{
	}

	/** minimal constructor */
	public ExamHall(Date createtime)
	{
		this.createtime = createtime;
	}

	/** full constructor */
	public ExamHall(Exam exam, Teacher teacher, Date createtime, String flag, String address, String code, Set appraisers)
	{
		this.exam = exam;
		this.teacher = teacher;
		this.createtime = createtime;
		this.flag = flag;
		this.address = address;
		this.code = code;
		this.appraisers = appraisers;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Exam getExam()
	{
		return this.exam;
	}

	public void setExam(Exam exam)
	{
		this.exam = exam;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public String getAddress()
	{
		return this.address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public String getCode()
	{
		return this.code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public Set getAppraisers()
	{
		return this.appraisers;
	}

	public void setAppraisers(Set appraisers)
	{
		this.appraisers = appraisers;
	}

}